<template>
  <div class="crumbnavs">
    <template v-for="(item, index) in nav">
      <a href="javascript:;" :key="index">{{ item.name }}</a>
      <template v-if="index != nav.length - 1"> / </template>
    </template>
  </div>
</template>

<script>
export default {
  props: ['nav']
}
</script>

<style lang="less" scoped>
.crumbnavs {
  line-height: 30px;
  a {
    text-decoration: none;
    cursor: auto;
    color: #000;
    &:first-child {
      font-weight: 700;
    }
  }
}
</style>
